package com.hgkj.cloud.base.service;

import com.hgkj.cloud.base.common.PageInfo;
import com.hgkj.cloud.base.domain.SysFaq;

import java.util.List;
import java.util.Map;

public interface SysFaqService {

    int deleteByPrimaryKey(String uuid);

    int insert(SysFaq record);

    int insertSelective(SysFaq record);

    SysFaq selectByPrimaryKey(String uuid);

    int updateByPrimaryKeySelective(SysFaq record);

    int updateByPrimaryKey(SysFaq record);

    List<SysFaq> listAllFaqs();

    List<SysFaq> getlistFaqsType();

    List<SysFaq> listAllFaqsPage(PageInfo pi, Map<String, Object> map);

    long listAllFaqsPageCount(Map<String, Object> map);

    //base
    SysFaq getFaqByUuid(String uuid);
}
